package edu.zju.gis.cky.service;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import edu.zju.gis.cky.entity.dto.FlowDetailDTO;
import edu.zju.gis.cky.entity.dto.FlowExtentDTO;
import edu.zju.gis.cky.entity.dto.FlowMatrixDTO;
import org.locationtech.jts.io.ParseException;

import java.io.IOException;

/**
 * @author jiarui
 * @version 1.0, 2022-01-10
 */
public interface LandFlowService {

    String[][] getTable(FlowMatrixDTO flowMatrixDTO);

    PageInfo<JSONObject> getDetail(FlowDetailDTO flowDetailDTO, int pageNum, int pageSize) throws ParseException, IOException;

    PageInfo<JSONObject> getListByExtent(FlowExtentDTO flowExtentDTO, int pageNum, int pageSize);

}
